Auto merge of #3937 - andwur:rustc-flag-determinism, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 18 May 2017 19:05:20 +0000 (19:05 +0000)
committerbors <bors@rust-lang.org>
Thu, 18 May 2017 19:05:20 +0000 (19:05 +0000)
Deterministic -L and --cfg flag ordering

This ensures that the `-L` and `--cfg` flags passed to `rustc` have stable ordering across runs.

It also does the same for `--cfg` flags passed to `rustdoc`.

Fixes #3895

1  2 
tests/build-script.rs

Simple merge